[LINUX] PV-on-HVM: Directly include headers which are used in various
authorIan Campbell <ian.campbell@xensource.com>
Wed, 25 Oct 2006 12:58:30 +0000 (13:58 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Wed, 25 Oct 2006 12:58:30 +0000 (13:58 +0100)
files rather than relying on them being included indirectly.

This is required because these headers are not pulled in indirectly on
older kernels.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c
linux-2.6-xen-sparse/include/xen/xenbus.h
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c

index bbe4a8c5a87c8119e1da3bc4f96ddb1796cec233..7a8d558a34ee9e98c9cd324839b91a269f098c35 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/wait.h>
 #include <linux/fs.h>
 #include <linux/poll.h>
+#include <linux/mutex.h>
 
 #include "xenbus_comms.h"
 
index 87c9e6ed90497cc281911543fa633f98015820d2..3b5bb784e8c4c97528b4edb6210798da5b012bf9 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/mm.h>
 #include <linux/notifier.h>
 #include <linux/kthread.h>
+#include <linux/mutex.h>
 
 #include <asm/io.h>
 #include <asm/page.h>
index 190fa1e794f5f9480b26ef770998405c58b83f89..1fa8e213fdeeeaca1858725ca6b2c402f4325131 100644 (file)
@@ -42,6 +42,8 @@
 #include <linux/fcntl.h>
 #include <linux/kthread.h>
 #include <linux/rwsem.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
 #include <xen/xenbus.h>
 #include "xenbus_comms.h"
 
index 8e259ce777fc40ab7c98927a6cd9892bbf891a2d..c7cb7eaa3adf876cf286672a15c688f7bd894b8e 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/notifier.h>
 #include <linux/mutex.h>
 #include <linux/completion.h>
+#include <linux/init.h>
 #include <xen/interface/xen.h>
 #include <xen/interface/grant_table.h>
 #include <xen/interface/io/xenbus.h>
index 36ad585fbf22cc739ad31170f66240fa564fd540..75f20dc1d793e3694c7ee46f00b93729308b345b 100644 (file)
@@ -33,6 +33,7 @@
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 #include <asm/hypervisor.h>
+#include <asm/pgtable.h>
 #include <xen/interface/memory.h>
 #include <xen/features.h>